﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ADA.Entity
{
    public class User
    {
        public long ID { get; set; }
        public string Email { get; set; }
        public string Password { get; set; }
        public string Name { get; set; }
        public string ProfilePicture { get; set; }
        public string Phone { get; set; }
        public string Address { get; set; }
        public short ProvinceID { get; set; }
        public short ViolationNum { get; set; }
        public bool Status { get; set; }
        public DateTime RegisterDate { get; set; }

        /// <summary>
        /// Constructor of User
        /// </summary>
        public User()
        {
            ID = 0;
            Email = "";
            Password = "";
            Name = "";
            ProfilePicture = "";
            Phone = "";
            Address = "";
            ProvinceID = 0;
            ViolationNum = 0;
            Status = false;
            RegisterDate = new DateTime();

        }
    }
}
